package com.strange.mdl.module.mdl.controller.app.activity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "用户 APP - 活动新增/修改 Request VO")
@Data
public class AppActivitySaveReqVO {
    private Long id;
    @Schema(description = "活动标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "活动标题不能为空")
    private String title;

    @Schema(description = "活动描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @NotEmpty(message = "活动描述不能为空")
    private String description;

    @Schema(description = "报名开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "报名开始时间不能为空")
    private LocalDateTime startTime;

    @Schema(description = "报名结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "报名结束时间不能为空")
    private LocalDateTime endTime;

    @Schema(description = "地点", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "地点不能为空")
    private String location;

    @Schema(description = "最大参与人数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "最大参与人数不能为空")
    private Integer maxParticipants;

    @Schema(description = "活动封面", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "活动封面不能为空")
    private String coverUrl;

}